#pragma once
#include "../drawopencv.h"
class CDrawWatershed :
	public CDrawOpenCV 
{
public:
	CDrawWatershed(void);
	virtual ~CDrawWatershed(void);
	DECLARE_MESSAGE_MAP()
public:
	// DealwithFrame
	virtual void DealwithFrame(void);
private:
	int   flag;
	CvRNG rng;
	IplImage* markers;
	IplImage* img;
	IplImage* img0;
	CvMemStorage* storage;
	IplImage  *img_gray, *wshed;
	IplImage* marker_mask;
};

